package com.demo.service;

import com.demo.controller.from.MovieProductAddFrom;
import com.demo.exetion.MainExection;
import com.demo.model.MovieProduct;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-04-05
 */
public interface MovieProductService extends IService<MovieProduct> {

    public Boolean addMovieProduct(MovieProductAddFrom movieProductAddFrom);

    public Boolean onTheShelf(Integer id) throws MainExection;

    public Boolean offTheShelf(Integer id) throws MainExection;

    public MovieProduct selectOneMovieProduct(Integer id) throws MainExection;

    public Boolean addMoney(Integer id,Double money) throws MainExection;


}
